feat: custom domain and slug commands (stacked on full-stack deploy) - #559
Open
netanelgilad wants to merge 1 commit into
Open
feat: custom domain and slug commands (stacked on full-stack deploy)#559netanelgilad wants to merge 1 commit into
netanelgilad wants to merge 1 commit into
Conversation
Contributor
🚀 Package Preview Available!Install this PR's preview build with npm: npm i @base44-preview/cli@0.1.7-pr.559.78ee229Prefer not to change any import paths? Install using npm alias so your code still imports npm i "base44@npm:@base44-preview/cli@0.1.7-pr.559.78ee229"Or add it to your {
"dependencies": {
"base44": "npm:@base44-preview/cli@0.1.7-pr.559.78ee229"
}
}
Preview published to npm registry — try new features instantly! |
netanelgilad
force-pushed
the
claude/session-m669xy
branch
from
August 2, 2026 14:17
4fcfa9b to
c93487f
Compare
netanelgilad
force-pushed
the
fullstack/deploy-git-hash
branch
from
August 3, 2026 17:17
5c32b34 to
a588d65
Compare
base44 domains add/list/remove (CNAME instructions, --wait polling to active via TimeoutError, confirmed removal) and base44 slug / slug set / slug reset (public subdomain management with taken-slug suggestions). Also hoists the logs --follow flag-conflict validation ahead of function resolution. Stacked on the full-stack deploy command. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DvhQfqxACcq25XAQRpoSh9
netanelgilad
force-pushed
the
claude/session-m669xy
branch
from
August 3, 2026 17:18
c93487f to
9473001
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
Description
Adds two new command groups to the CLI for managing an app's public addressing:
base44 domains(add/list/remove custom domains, backed by Cloudflare custom hostnames) andbase44 slug(show/set/reset the app's*.base44.appsubdomain). Both follow the existing core/cli split — Zod-validated snake_case→camelCase API layers undersrc/core/, thin presentation commands undersrc/cli/commands/— and both fully support the global--jsonflag. Built on top of the full-stack Workers deploy work in the target branch, where a deployed app needs a stable public hostname.Related Issue
None
Type of Change
Changes Made
Custom domains (`base44 domains`)
App slug (`base44 slug`)
Supporting changes
Testing
20 new integration tests across `tests/cli/domains.spec.ts` and `tests/cli/slug.spec.ts` covering human and `--json` output, the snake→camel transform, `--wait` polling to active, empty states, non-interactive `-y` enforcement, invalid slug format, taken-slug suggestions, and API error propagation.
Checklist
Additional Notes
No `docs/` updates are included. The new modules follow the existing resource/command patterns rather than introducing new architecture, but the two new command groups may be worth mentioning in `docs/commands.md` / `docs/deployments.md` alongside the full-stack deploy flow.
🤖 Generated by Claude | 2026-08-03 17:19 UTC | 78ee229